import HttpClient from '../commons/http-client';
import {updateAlbum} from '../reducers/album';

export function update(photos) {
  return async dispatch => {
    dispatch(updateAlbum(photos));
  };
}
